package controller;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import fwk.Controller;
import fwk.impl.ModelAndView;

public class LoginController implements Controller {

	@Override
	public ModelAndView handleRequest(HttpServletRequest request,
			HttpServletResponse response) {
		System.out.println("login.......");
		Map<String, Object> map=new HashMap<String, Object>();
		map.put("uname", "john");
		ModelAndView mv=new ModelAndView("suc",map);
		return mv;
	}

}
